<?php
if(!defined('MID_APP')) exit('Access Denied');
?>
<!-- layout::Admin:iframe/header::$tpl_cache_date -->

<!-- Start Page Header -->
<div id="page-header">
    <h1><?=$title?></h1>
</div>
<!-- End Page Header -->

<!-- Start Grid -->
<div class="container_12">

<!-- Show Message -->
<div id="message_block"></div>

<!-- Start Forms -->
<div class="grid_12">
  <div class="box-header"> 节点信息 </div>
  <div class="box">
    <form method="post" id="node_edit">
      <div class="row">
        <label>节点名称</label>
        <input type="text" name="name" id="formid_name" value="<?=$val['name']?>" />
      </div>
      <div class="row">
      	<label>节点标题</label>
      	<input type="text" name="title" value="<?=$val['title']?>" />
      </div>
      <div class="row">
        <label>备注信息</label>
        <textarea name="remark" rows="6" cols="34"><?=$val['remark']?></textarea>
      </div>
      <div class="row">
        <label></label>
        <input type="submit" value="保存" class="button" />
        <input type="reset" value="重置" class="button" />
      </div>
    </form>
  </div>
</div>
<!-- Start Forms -->

<!-- End Grid -->
</div>
<!-- End Page Content -->

<script type="text/javascript">
$("#node_edit").submit(function() {
    var _name = $("#formid_name").val();
    if(_name <= 0 ) {
        Message.Show('节点名称不能为空！', 'error', '#formid_name');
        return false;
    }
    return true;
});
</script>

<!-- layout::Admin:iframe/footer::$tpl_cache_date -->